package cn.edu.scau.cmi.ema.dao;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Fillertype;
import org.springframework.dao.DataAccessException;

import java.util.Set;

public interface FillertypeDAO extends JpaDao<Fillertype> {

	public Fillertype findFillertypeById(Integer id) throws DataAccessException;

	public Fillertype findFillertypeById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Fillertype> findFillertypeByName(String name) throws DataAccessException;

	public Set<Fillertype> findFillertypeByName(String name, int startResult, int maxRows) throws DataAccessException;

	public Set<Fillertype> findFillertypeByNameContaining(String name_1) throws DataAccessException;

	public Set<Fillertype> findFillertypeByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Fillertype> findFillertypeByParent(Integer parent) throws DataAccessException;

	public Set<Fillertype> findFillertypeByParent(Integer parent, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Fillertype> findFillertypeByDescription(String description) throws DataAccessException;

	public Set<Fillertype> findFillertypeByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Fillertype> findFillertypeByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Fillertype> findFillertypeByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Fillertype findFillertypeByPrimaryKey(Integer id) throws DataAccessException;

	public Fillertype findFillertypeByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Fillertype> findFillertypesByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Fillertype> findAllFillertypes() throws DataAccessException;

	public Set<Fillertype> findAllFillertypes(int startResult, int maxRows) throws DataAccessException;

	public Set<Fillertype> findFillertypeByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Fillertype> findFillertypesByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Fillertype findFillertypeByPhysicalPrimaryKey(String name, Integer parent) throws DataAccessException;

	public Fillertype findFillertypeByPhysicalPrimaryKey(String name, Integer parent, int startResult, int maxRows)
			throws DataAccessException;
}
